Release 10.1A: OpenEdge Data Management:
DataServer for ODBC
Modifying tables to support the ROWID function
If you want to use the
ROWIDfunction with an ODBC data source, you must make certain changes to your data-source table. The following example uses Sybase to illustrate the necessary changes.
![]()
To modify tables to support the ROWID function, using a Sybase database:
- Add a column of the integer data type named
PROGRESS_RECID. The new column must be able to contain null:
- Add a column with identity characteristics named
PROGRESS_RECID_IDENT_. The new column must have the numeric data type:
- Create a trigger to maintain the
PROGRESS_RECIDcolumn:
- Change the nonunique indexes so that they include a
PROGRESS_RECIDcolumn as the last component:
- If you have already created your schema holder, update it to reflect your changes to the data-source table.
If your data source supports stored procedures, you may modify the steps above to implement the
ROWIDfunction using a similar syntax.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |